package com.wavecoler.coach.objects;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@SuppressWarnings("serial")
public class Word implements Serializable {
	
	public void setWordId(Long wordId) {
		this.wordId = wordId;
	}

    private String encodedKey;
	
	private Long wordId;
	
	private String mainWord;
	
	private String pluralForm;
	
	private String synonym;
	
	private String abbreviation;

	public Word(){};

	public Word(String mainWord, String pluralForm, String synonym,
			String abbreviation) {
		super();
		this.mainWord = mainWord;
		this.pluralForm = pluralForm;
		this.synonym = synonym;
		this.abbreviation = abbreviation;
	}


	public String getMainWord() {
		return mainWord;
	}


	public void setMainWord(String mainWord) {
		this.mainWord = mainWord;
	}


	public String getPluralForm() {
		return pluralForm;
	}


	public void setPluralForm(String pluralForm) {
		this.pluralForm = pluralForm;
	}


	public String getSynonym() {
		return synonym;
	}


	public void setSynonym(String synonym) {
		this.synonym = synonym;
	}


	public String getAbbreviation() {
		return abbreviation;
	}


	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}


	public String getEncodedKey() {
		return encodedKey;
	}


	public Long getWordId() {
		return wordId;
	}
}
